/**
 * output package name
 */
package com.kingdee.eas.crm.enumeration;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class YesorInvoiceEnum extends StringEnum
{
    public static final String YES_VALUE = "10";
    public static final String NO_VALUE = "20";
    public static final String DIS_VALUE = "30";

    public static final YesorInvoiceEnum yes = new YesorInvoiceEnum("yes", YES_VALUE);
    public static final YesorInvoiceEnum no = new YesorInvoiceEnum("no", NO_VALUE);
    public static final YesorInvoiceEnum dis = new YesorInvoiceEnum("dis", DIS_VALUE);

    /**
     * construct function
     * @param String yesorInvoiceEnum
     */
    private YesorInvoiceEnum(String name, String yesorInvoiceEnum)
    {
        super(name, yesorInvoiceEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static YesorInvoiceEnum getEnum(String yesorInvoiceEnum)
    {
        return (YesorInvoiceEnum)getEnum(YesorInvoiceEnum.class, yesorInvoiceEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(YesorInvoiceEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(YesorInvoiceEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(YesorInvoiceEnum.class);
    }
}